﻿using System;

namespace Solution.Domain.Models
{
    public abstract class AbstractAggregateEntity<TKey>
    {
        public virtual TKey Id { get; set; }

        public virtual ulong TenantId { get; set; } = 0;

        public virtual bool IsDeleted { get; set; } = false;

        public virtual DateTime CreatedTime { get; set; } = DateTime.UtcNow;

        public virtual DateTime UpdatedTime { get; set; } = DateTime.UtcNow;
    }
}